mirror of
https://github.com/aclist/dztui.git
synced 2026-11-03 16:42:13 +01:00
feat: concatenate launch parameters
This commit is contained in:
1 parent
1268c388b0
commit
ed8e79455b
12 files changed
+52
-32
No files matched your search
@@ -3,6 +3,7 @@ from typing import TYPE_CHECKING
|
||||
from dzgui.const.constants import UDP_PORT
|
||||
from dzgui.model.servers import ServerModelManager
|
||||
from dzgui.strings import connect_panel
|
||||
from dzgui.util.keys import is_ctrl_mask
|
||||
from dzgui.views.components.buttons import (
|
||||
AddButton,
|
||||
ClipboardButton,
|
||||
@@ -78,7 +79,7 @@ class LanPanel(Gtk.Frame):
|
||||
self.entry.set_sensitive(False)
|
||||
|
||||
def _on_lan_keypress(self, widget: Gtk.Entry, event: Gdk.EventKey) -> bool:
|
||||
if event.state & Gdk.ModifierType.CONTROL_MASK:
|
||||
if is_ctrl_mask(event):
|
||||
if event.keyval == Gdk.KEY_d:
|
||||
self.default_radio.set_active(True)
|
||||
self.controller.grab_active_treeview()
|
||||
|
||||
Reference in new issue
Block a user