ui prototype to support markers

This commit is contained in:
Dmitriy Yefremov
2017-12-19 22:57:04 +03:00
parent f2839e3968
commit b694834ee7
4 changed files with 109 additions and 33 deletions

View File

@@ -42,7 +42,7 @@ def show_dialog(dialog_type: DialogType, transient, text=None, options=None, act
if dialog_type is DialogType.INPUT:
entry = builder.get_object("input_entry")
entry.set_text(text)
entry.set_text(text if text else "")
response = dialog.run()
txt = entry.get_text()
dialog.destroy()