mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
graphs are modal now
This commit is contained in:
parent
76633d9cce
commit
91f11d0647
1 changed files with 0 additions and 6 deletions
|
@ -29,7 +29,6 @@ class DialogManager(object):
|
||||||
self._dialogs = {
|
self._dialogs = {
|
||||||
"AddCards": (addcards.AddCards, None),
|
"AddCards": (addcards.AddCards, None),
|
||||||
"CardList": (cardlist.EditDeck, None),
|
"CardList": (cardlist.EditDeck, None),
|
||||||
"Graphs": (self.graphProxy, None)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def open(self, name, *args):
|
def open(self, name, *args):
|
||||||
|
@ -54,11 +53,6 @@ class DialogManager(object):
|
||||||
instance.close()
|
instance.close()
|
||||||
self.close(n)
|
self.close(n)
|
||||||
|
|
||||||
# since we load the graphs dynamically, we need a proxy for this
|
|
||||||
def graphProxy(self, *args):
|
|
||||||
import graphs
|
|
||||||
return graphs.intervalGraph(*args)
|
|
||||||
|
|
||||||
dialogs = DialogManager()
|
dialogs = DialogManager()
|
||||||
|
|
||||||
# Splash screen
|
# Splash screen
|
||||||
|
|
Loading…
Reference in a new issue