minor fixes
This commit is contained in:
parent
3ddb7470fc
commit
24c8b18f7e
4 changed files with 10 additions and 7 deletions
|
@ -6,7 +6,7 @@ from PyQt5 import QtCore, QtGui, QtWidgets
|
|||
from bootstrap import node_generator
|
||||
from mainscreen import MainWindow
|
||||
from callbacks import init_callbacks, stop, start
|
||||
from util import curr_directory, program_version, remove, is_64_bit
|
||||
from util import curr_directory, program_version, remove
|
||||
import styles.style
|
||||
import platform
|
||||
import toxes
|
||||
|
|
|
@ -611,7 +611,7 @@ class InterfaceSettings(CenteredWidget):
|
|||
self.messages_font_size_label.setFont(font)
|
||||
self.messages_font_size = QtWidgets.QComboBox(self)
|
||||
self.messages_font_size.setGeometry(QtCore.QRect(30, 330, 160, 30))
|
||||
self.messages_font_size.addItems([str(x) for x in range(10, 19)])
|
||||
self.messages_font_size.addItems([str(x) for x in range(10, 25)])
|
||||
self.messages_font_size.setCurrentIndex(settings['message_font_size'] - 10)
|
||||
|
||||
self.unread = QtWidgets.QPushButton(self)
|
||||
|
|
|
@ -97,10 +97,13 @@ class PluginLoader(util.Singleton):
|
|||
"""
|
||||
result = []
|
||||
for data in self._plugins.values():
|
||||
try:
|
||||
result.append([data[0].get_name(), # plugin full name
|
||||
data[1], # is enabled
|
||||
data[0].get_description(), # plugin description
|
||||
data[0].get_short_name()]) # key - short unique name
|
||||
except:
|
||||
continue
|
||||
return result
|
||||
|
||||
def plugin_window(self, key):
|
||||
|
|
|
@ -5,7 +5,7 @@ import sys
|
|||
import re
|
||||
|
||||
|
||||
program_version = '0.4.0'
|
||||
program_version = '0.4.1'
|
||||
|
||||
|
||||
def cached(func):
|
||||
|
|
Loading…
Reference in a new issue