Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delete statusbar fix #2

Merged
merged 1 commit into from Oct 16, 2014
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -10,7 +10,8 @@ class ConverterWindow(QtGui.QMainWindow):
def create_window(controller, parent=None):
window = ConverterWindow(parent)
window.setWindowTitle('Hierarchy Converter')
statusbar = window.statusBar()
# change this line
statusbar = QtGui.QStatusBar()

container = QtGui.QWidget(window)
label = QtGui.QLabel('Prefix:', container)
@@ -37,6 +38,8 @@ def update_statusbar(newsel):
layout.addWidget(textbox)
layout.addWidget(button)
window.setCentralWidget(container)
# add this line
window.setStatusBar(statusbar)

return window

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.