mirror of
https://github.com/shizand/statapp.git
synced 2024-12-23 04:02:58 +03:00
fix: добавлен более подробный вывод ошибок в консоль
This commit is contained in:
parent
d6c03ca3c8
commit
780d5b30fd
@ -17,6 +17,7 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
|
||||
@ -71,8 +72,11 @@ def onError(errorName: Exception):
|
||||
QMessageBox.Ok,
|
||||
QMessageBox.Ok)
|
||||
|
||||
logging.exception(errorName)
|
||||
|
||||
msgBox.exec_()
|
||||
|
||||
|
||||
class FloatDelegate(QStyledItemDelegate):
|
||||
def __init__(self, parent=None):
|
||||
QStyledItemDelegate.__init__(self, parent=parent)
|
||||
|
Loading…
Reference in New Issue
Block a user