Messages info bzw. error hinzu
This commit is contained in:
+4
-3
@@ -1,4 +1,5 @@
|
|||||||
import os
|
import os
|
||||||
|
from tkinter import messagebox
|
||||||
|
|
||||||
from manage_configs import SivasAssemblyData
|
from manage_configs import SivasAssemblyData
|
||||||
from get_teilestamm import FetchSivasTeilestamm
|
from get_teilestamm import FetchSivasTeilestamm
|
||||||
@@ -197,10 +198,10 @@ class Controller(Observer):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def message_info(self, title, key, questions='ok'):
|
def message_info(self, title, key, questions='ok'):
|
||||||
return tkinter.messageBox.showinfo(title, message[key])
|
return messagebox.showinfo(title, messages[key])
|
||||||
|
|
||||||
def message_error(self, title, key, type='error'):
|
def message_error(self, title, key):
|
||||||
pass
|
return messagebox.showerror(title, messages[key])
|
||||||
|
|
||||||
def callback(self, key, value):
|
def callback(self, key, value):
|
||||||
if not self._model:
|
if not self._model:
|
||||||
|
|||||||
Reference in New Issue
Block a user