[Kmymoney-devel] [Bug 207354] Crash creating a new account

Alvaro Soliverez asoliverez at gmail.com
Fri Sep 25 00:18:14 CEST 2009


On Thu, Sep 24, 2009 at 10:15 AM, Thomas Baumgart <thb at net-bembel.de> wrote:

> On Thursday 24 September 2009 14:49:30 Alvaro Soliverez wrote:
> > Cristian,
> > can you take a look at this bug?
> > I still have limited debugging capabilities on my sandbox. I have to sit
> > down and reinstall the whole development environment.
> >
> > There should be somewhere in the newuserwizard where firstTimeRun is set
> to
> > true before time.
>
> That's probably in main.cpp line 273. In case you comment it, the new
> wizard
> will be run again the next time. The flag will be reset in KMyMoney2App
> once
> the new user wizard has completed.
>
> How about adding a check whether there is a file open or not before setting
that flag?

Kind of:

 if(!d->m_myMoneyView->fileOpen()) {

KMyMoneyGlobalSettings::setFirstTimeRun(false);

}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kmymoney-devel/attachments/20090924/dc0be0aa/attachment.htm 


More information about the KMyMoney-devel mailing list