mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-19 22:10:29 +00:00
gtk/GlobalShortcuts: don't request session with no shortcuts (#7510)
This commit is contained in:
@@ -117,7 +117,9 @@ pub fn refreshSession(self: *GlobalShortcuts, app: *App) !void {
|
||||
);
|
||||
}
|
||||
|
||||
try self.request(.create_session);
|
||||
if (self.map.count() > 0) {
|
||||
try self.request(.create_session);
|
||||
}
|
||||
}
|
||||
|
||||
fn shortcutActivated(
|
||||
|
||||
Reference in New Issue
Block a user