mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
Fixed problem with .lay, .iml switching to text mode while debugging (too much..)
git-svn-id: svn://ultimatepp.org/upp/trunk@1188 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7d5b2f84d0
commit
8c3305356e
1 changed files with 3 additions and 2 deletions
|
|
@ -360,8 +360,9 @@ void Ide::EditFile0(const String& path, byte charset, bool astext, const String&
|
|||
editfile = path;
|
||||
editor.SetCharset(charset);
|
||||
AddLru();
|
||||
|
||||
if(!astext && !debugger && editastext.Find(path) < 0 && !IsNestReadOnly(editfile)) {
|
||||
|
||||
if(!astext && !(debugger && (PathIsEqual(path, posfile[0]) || PathIsEqual(path, posfile[0])))
|
||||
&& editastext.Find(path) < 0 && !IsNestReadOnly(editfile)) {
|
||||
for(int i = 0; i < GetIdeModuleCount() && !designer; i++)
|
||||
designer = GetIdeModule(i).CreateDesigner(this, path, charset);
|
||||
if(designer) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue