Skip to content
This repository has been archived by the owner on Mar 14, 2020. It is now read-only.

Commit

Permalink
Fixed popups staying on top of all windows;
Browse files Browse the repository at this point in the history
  • Loading branch information
twiddli committed Sep 14, 2015
1 parent 4f214c5 commit c4eaa6a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions version/gallerydb.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#"""
#"""
#This file is part of Happypanda.
#Happypanda is free software: you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -489,9 +489,9 @@ def del_gallery(list_of_gallery, local=False):
"Deletes all galleries in the list recursively."
assert isinstance(list_of_gallery, list), "Please provide a valid list of galleries to delete"
for gallery in list_of_gallery:
if not gallery.validate():
log_d('Invalid gallery not removable')
continue
#if not gallery.validate():
# log_d('Invalid gallery not removable')
# continue
if local:
for chap in gallery.chapters:
path = gallery.chapters[chap]
Expand Down
4 changes: 2 additions & 2 deletions version/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#"""
#"""
#This file is part of Happypanda.
#Happypanda is free software: you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -180,7 +180,7 @@ def start_main_window(conn):
for name in dirs:
os.rmdir(os.path.join(root, name))
except:
log_d('Empty temp: FAIL')
log_i('Empty temp: FAIL')
log_d('Create temp: OK')

if test:
Expand Down
2 changes: 1 addition & 1 deletion version/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ def __init__(self, parent=None, **kwargs):
if kwargs:
super().__init__(parent, **kwargs)
else:
super().__init__(parent, flags= Qt.Window | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint)
super().__init__(parent, flags= Qt.Dialog | Qt.FramelessWindowHint)
main_layout = QVBoxLayout()
self.main_widget = QFrame()
self.setLayout(main_layout)
Expand Down

0 comments on commit c4eaa6a

Please sign in to comment.