mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #2106123 [[Enhancement] Move 'Show server logs' button to the right of Sharing over the net window](https://bugs.launchpad.net/calibre/+bug/2106123)
This commit is contained in:
parent
a48e0e4157
commit
d8ac21b896
@ -359,9 +359,8 @@ class MainTab(QWidget): # {{{
|
|||||||
b = QPushButton(text)
|
b = QPushButton(text)
|
||||||
b.clicked.connect(getattr(self, name).emit)
|
b.clicked.connect(getattr(self, name).emit)
|
||||||
setattr(self, name + '_button', b)
|
setattr(self, name + '_button', b)
|
||||||
if name == 'show_logs':
|
|
||||||
h.addStretch(10)
|
|
||||||
h.addWidget(b)
|
h.addWidget(b)
|
||||||
|
h.addStretch(10)
|
||||||
self.ip_info = QLabel(self)
|
self.ip_info = QLabel(self)
|
||||||
self.update_ip_info()
|
self.update_ip_info()
|
||||||
from calibre.gui2.ui import get_gui
|
from calibre.gui2.ui import get_gui
|
||||||
|
Loading…
x
Reference in New Issue
Block a user