mirror of
https://github.com/TimeCrafters/timecrafters_configuration_tool_desktop.git
synced 2025-12-16 05:42:35 +00:00
Allow edited action to keep its name when editing it (fixes: #1), made dialogs respond to enter and escape, Confirm dialog now shows dark red color for dangerous operations and prevents enter for accepting it
This commit is contained in:
@@ -6,7 +6,7 @@ module TAC
|
||||
@message_label = label $window.backend.tacnet.full_status
|
||||
|
||||
button "Close", width: 1.0, margin_top: THEME_DIALOG_BUTTON_PADDING do
|
||||
close
|
||||
try_commit
|
||||
end
|
||||
|
||||
@timer = CyberarmEngine::Timer.new(1000.0) do
|
||||
@@ -14,6 +14,10 @@ module TAC
|
||||
end
|
||||
end
|
||||
|
||||
def try_commit
|
||||
close
|
||||
end
|
||||
|
||||
def update
|
||||
super
|
||||
|
||||
|
||||
Reference in New Issue
Block a user