Browse Source

Localize Image import for now

master
Neil Booth 10 years ago
parent
commit
c99f0acfba
  1. 2
      plugins/trezor/qt_generic.py

2
plugins/trezor/qt_generic.py

@ -1,6 +1,5 @@
from functools import partial from functools import partial
import threading import threading
from PIL import Image
from PyQt4.Qt import Qt from PyQt4.Qt import Qt
from PyQt4.Qt import QGridLayout, QInputDialog, QPushButton from PyQt4.Qt import QGridLayout, QInputDialog, QPushButton
@ -360,6 +359,7 @@ class SettingsDialog(WindowModalDialog):
update() update()
def change_homescreen(): def change_homescreen():
from PIL import Image # FIXME
dialog = QFileDialog(self, _("Choose Homescreen")) dialog = QFileDialog(self, _("Choose Homescreen"))
filename = dialog.getOpenFileName() filename = dialog.getOpenFileName()
if filename: if filename:

Loading…
Cancel
Save