mirror of https://github.com/zlatinb/muwire
fix typo
parent
01a1803283
commit
0298a1c893
|
@ -128,7 +128,7 @@ class MainFrameView {
|
||||||
|
|
||||||
void initUI() {
|
void initUI() {
|
||||||
|
|
||||||
boolean dosableUpdates = false
|
boolean disableUpdates = false
|
||||||
if (System.getProperties().containsKey("disableUpdates"))
|
if (System.getProperties().containsKey("disableUpdates"))
|
||||||
disableUpdates = Boolean.parseBoolean(System.getProperty("disableUpdates"))
|
disableUpdates = Boolean.parseBoolean(System.getProperty("disableUpdates"))
|
||||||
|
|
||||||
|
@ -748,7 +748,7 @@ class MainFrameView {
|
||||||
panel (border: etchedBorder(), constraints : BorderLayout.SOUTH) {
|
panel (border: etchedBorder(), constraints : BorderLayout.SOUTH) {
|
||||||
borderLayout()
|
borderLayout()
|
||||||
panel (constraints : BorderLayout.WEST) {
|
panel (constraints : BorderLayout.WEST) {
|
||||||
if (!dosableUpdates) {
|
if (!disableUpdates) {
|
||||||
button(text: "", icon: imageIcon('/update.png'), toolTipText: trans("TOOLTIP_UPDATE"),
|
button(text: "", icon: imageIcon('/update.png'), toolTipText: trans("TOOLTIP_UPDATE"),
|
||||||
enabled: bind { model.updateAvailableEvent != null || model.updateDownloadedEvent != null },
|
enabled: bind { model.updateAvailableEvent != null || model.updateDownloadedEvent != null },
|
||||||
showUpdateAction)
|
showUpdateAction)
|
||||||
|
|
Loading…
Reference in New Issue