Revise edit and write restrictions
This commit is contained in:
5
jam
5
jam
@ -19,6 +19,9 @@ class Jam_app(App):
|
||||
# the file open for editing
|
||||
self.openfile=kwargs.get("openfile","")
|
||||
|
||||
# readonly mode
|
||||
self.readonly=False
|
||||
|
||||
super(Jam_app,self).__init__()
|
||||
|
||||
|
||||
@ -35,8 +38,8 @@ class Jam_app(App):
|
||||
layout.add_widget(self.painter)
|
||||
layout.add_widget(self.status_bar)
|
||||
layout.add_widget(self.command_prompt)
|
||||
return layout
|
||||
|
||||
return layout
|
||||
|
||||
|
||||
# disable red circles on right click
|
||||
|
Reference in New Issue
Block a user