Skip to content

Commit d774caa

Browse files
committed
mainWindow.py, lines 54-58 included the commit message from previous commit
This was removed from the code
1 parent 385377b commit d774caa

File tree

4 files changed

+3
-15
lines changed

4 files changed

+3
-15
lines changed

.idea/SmartShopTouchScreen.iml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Windows/mainWindow.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,7 @@ def showEvent(self, event):
5151
self.recItemsModel.select()
5252

5353
# When the window is shown, make sure the floating remove buttons are hidden
54-
self.reqItemsRemoveBtn.setEnabled(False)Added functionality when an item's quantity goes to zero, it will be sent to the recommended items list if its not on a list already
55-
56-
When an item is bought, update the list flags to be 0. If it was on a list or it was being ignored and the item is bought, put it back to nothing.
57-
58-
Hide the floating remove buttons are main window screen each time window is shown. If you selected an item and then moved to new screen and moved back, the selection would be gone but the floating button would be present.
59-
self.reqItemsRemoveBtn.setVisible(False)
54+
self.reqItemsRemoveBtn.setEnabled(False) self.reqItemsRemoveBtn.setVisible(False)
6055
self.recItemsRemoveBtn.setEnabled(False)
6156
self.recItemsRemoveBtn.setVisible(False)
6257

main.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
import logging
21
from configobj import *
32
from validate import Validator
4-
import sys
5-
6-
from Util import constants
7-
8-
from PyQt5.QtCore import *
9-
from PyQt5.QtWidgets import *
103

114
from Windows.centralWindow import *
125

0 commit comments

Comments
 (0)