From ca486a4558dc7aa23e3e5c677f6eedd26ed02746 Mon Sep 17 00:00:00 2001 From: zecke Date: Wed, 14 Jul 2004 11:22:14 +0000 Subject: Problem: Opie-Drawpad loads its document delayed. This means a setDocument like from the Screenshot Applet could be executed prior to the final initialisation of drawpad and the just added page vanishes. Solve: Take the fact into account and 1st) don't create an empty page if there is already a page which is the case with the setDocument call 2nd) if we load but already have pages we need to add the new pages --- (limited to 'libopie2') -- cgit v0.9.0.2